package com.rc.saas.mini.model.order;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OrderInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Long value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Long value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Long value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Long value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Long value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Long> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Long> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Long value1, Long value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Long value1, Long value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeIsNull() {
            addCriterion("tenant_operator_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeIsNotNull() {
            addCriterion("tenant_operator_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeEqualTo(String value) {
            addCriterion("tenant_operator_code =", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeNotEqualTo(String value) {
            addCriterion("tenant_operator_code <>", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeGreaterThan(String value) {
            addCriterion("tenant_operator_code >", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_operator_code >=", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeLessThan(String value) {
            addCriterion("tenant_operator_code <", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_operator_code <=", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeLike(String value) {
            addCriterion("tenant_operator_code like", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeNotLike(String value) {
            addCriterion("tenant_operator_code not like", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeIn(List<String> values) {
            addCriterion("tenant_operator_code in", values, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeNotIn(List<String> values) {
            addCriterion("tenant_operator_code not in", values, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeBetween(String value1, String value2) {
            addCriterion("tenant_operator_code between", value1, value2, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_operator_code not between", value1, value2, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeIsNull() {
            addCriterion("hlht_tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeIsNotNull() {
            addCriterion("hlht_tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeEqualTo(String value) {
            addCriterion("hlht_tenant_code =", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeNotEqualTo(String value) {
            addCriterion("hlht_tenant_code <>", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeGreaterThan(String value) {
            addCriterion("hlht_tenant_code >", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("hlht_tenant_code >=", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeLessThan(String value) {
            addCriterion("hlht_tenant_code <", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("hlht_tenant_code <=", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeLike(String value) {
            addCriterion("hlht_tenant_code like", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeNotLike(String value) {
            addCriterion("hlht_tenant_code not like", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeIn(List<String> values) {
            addCriterion("hlht_tenant_code in", values, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeNotIn(List<String> values) {
            addCriterion("hlht_tenant_code not in", values, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeBetween(String value1, String value2) {
            addCriterion("hlht_tenant_code between", value1, value2, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeNotBetween(String value1, String value2) {
            addCriterion("hlht_tenant_code not between", value1, value2, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdIsNull() {
            addCriterion("hlht_operator_id is null");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdIsNotNull() {
            addCriterion("hlht_operator_id is not null");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdEqualTo(String value) {
            addCriterion("hlht_operator_id =", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotEqualTo(String value) {
            addCriterion("hlht_operator_id <>", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdGreaterThan(String value) {
            addCriterion("hlht_operator_id >", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdGreaterThanOrEqualTo(String value) {
            addCriterion("hlht_operator_id >=", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdLessThan(String value) {
            addCriterion("hlht_operator_id <", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdLessThanOrEqualTo(String value) {
            addCriterion("hlht_operator_id <=", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdLike(String value) {
            addCriterion("hlht_operator_id like", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotLike(String value) {
            addCriterion("hlht_operator_id not like", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdIn(List<String> values) {
            addCriterion("hlht_operator_id in", values, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotIn(List<String> values) {
            addCriterion("hlht_operator_id not in", values, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdBetween(String value1, String value2) {
            addCriterion("hlht_operator_id between", value1, value2, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotBetween(String value1, String value2) {
            addCriterion("hlht_operator_id not between", value1, value2, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNull() {
            addCriterion("member_id is null");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNotNull() {
            addCriterion("member_id is not null");
            return (Criteria) this;
        }

        public Criteria andMemberIdEqualTo(Long value) {
            addCriterion("member_id =", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotEqualTo(Long value) {
            addCriterion("member_id <>", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThan(Long value) {
            addCriterion("member_id >", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThanOrEqualTo(Long value) {
            addCriterion("member_id >=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThan(Long value) {
            addCriterion("member_id <", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThanOrEqualTo(Long value) {
            addCriterion("member_id <=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdIn(List<Long> values) {
            addCriterion("member_id in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotIn(List<Long> values) {
            addCriterion("member_id not in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdBetween(Long value1, Long value2) {
            addCriterion("member_id between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotBetween(Long value1, Long value2) {
            addCriterion("member_id not between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNull() {
            addCriterion("enterprise_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNotNull() {
            addCriterion("enterprise_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdEqualTo(Long value) {
            addCriterion("enterprise_id =", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotEqualTo(Long value) {
            addCriterion("enterprise_id <>", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThan(Long value) {
            addCriterion("enterprise_id >", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThanOrEqualTo(Long value) {
            addCriterion("enterprise_id >=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThan(Long value) {
            addCriterion("enterprise_id <", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThanOrEqualTo(Long value) {
            addCriterion("enterprise_id <=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIn(List<Long> values) {
            addCriterion("enterprise_id in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotIn(List<Long> values) {
            addCriterion("enterprise_id not in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdBetween(Long value1, Long value2) {
            addCriterion("enterprise_id between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotBetween(Long value1, Long value2) {
            addCriterion("enterprise_id not between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andOperatorIdIsNull() {
            addCriterion("operator_id is null");
            return (Criteria) this;
        }

        public Criteria andOperatorIdIsNotNull() {
            addCriterion("operator_id is not null");
            return (Criteria) this;
        }

        public Criteria andOperatorIdEqualTo(Long value) {
            addCriterion("operator_id =", value, "operatorId");
            return (Criteria) this;
        }

        public Criteria andOperatorIdNotEqualTo(Long value) {
            addCriterion("operator_id <>", value, "operatorId");
            return (Criteria) this;
        }

        public Criteria andOperatorIdGreaterThan(Long value) {
            addCriterion("operator_id >", value, "operatorId");
            return (Criteria) this;
        }

        public Criteria andOperatorIdGreaterThanOrEqualTo(Long value) {
            addCriterion("operator_id >=", value, "operatorId");
            return (Criteria) this;
        }

        public Criteria andOperatorIdLessThan(Long value) {
            addCriterion("operator_id <", value, "operatorId");
            return (Criteria) this;
        }

        public Criteria andOperatorIdLessThanOrEqualTo(Long value) {
            addCriterion("operator_id <=", value, "operatorId");
            return (Criteria) this;
        }

        public Criteria andOperatorIdIn(List<Long> values) {
            addCriterion("operator_id in", values, "operatorId");
            return (Criteria) this;
        }

        public Criteria andOperatorIdNotIn(List<Long> values) {
            addCriterion("operator_id not in", values, "operatorId");
            return (Criteria) this;
        }

        public Criteria andOperatorIdBetween(Long value1, Long value2) {
            addCriterion("operator_id between", value1, value2, "operatorId");
            return (Criteria) this;
        }

        public Criteria andOperatorIdNotBetween(Long value1, Long value2) {
            addCriterion("operator_id not between", value1, value2, "operatorId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIsNull() {
            addCriterion("elec_station_id is null");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIsNotNull() {
            addCriterion("elec_station_id is not null");
            return (Criteria) this;
        }

        public Criteria andElecStationIdEqualTo(Long value) {
            addCriterion("elec_station_id =", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotEqualTo(Long value) {
            addCriterion("elec_station_id <>", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdGreaterThan(Long value) {
            addCriterion("elec_station_id >", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdGreaterThanOrEqualTo(Long value) {
            addCriterion("elec_station_id >=", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdLessThan(Long value) {
            addCriterion("elec_station_id <", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdLessThanOrEqualTo(Long value) {
            addCriterion("elec_station_id <=", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIn(List<Long> values) {
            addCriterion("elec_station_id in", values, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotIn(List<Long> values) {
            addCriterion("elec_station_id not in", values, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdBetween(Long value1, Long value2) {
            addCriterion("elec_station_id between", value1, value2, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotBetween(Long value1, Long value2) {
            addCriterion("elec_station_id not between", value1, value2, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdIsNull() {
            addCriterion("elec_pile_id is null");
            return (Criteria) this;
        }

        public Criteria andElecPileIdIsNotNull() {
            addCriterion("elec_pile_id is not null");
            return (Criteria) this;
        }

        public Criteria andElecPileIdEqualTo(Long value) {
            addCriterion("elec_pile_id =", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdNotEqualTo(Long value) {
            addCriterion("elec_pile_id <>", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdGreaterThan(Long value) {
            addCriterion("elec_pile_id >", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdGreaterThanOrEqualTo(Long value) {
            addCriterion("elec_pile_id >=", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdLessThan(Long value) {
            addCriterion("elec_pile_id <", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdLessThanOrEqualTo(Long value) {
            addCriterion("elec_pile_id <=", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdIn(List<Long> values) {
            addCriterion("elec_pile_id in", values, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdNotIn(List<Long> values) {
            addCriterion("elec_pile_id not in", values, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdBetween(Long value1, Long value2) {
            addCriterion("elec_pile_id between", value1, value2, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdNotBetween(Long value1, Long value2) {
            addCriterion("elec_pile_id not between", value1, value2, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdIsNull() {
            addCriterion("elec_gun_id is null");
            return (Criteria) this;
        }

        public Criteria andElecGunIdIsNotNull() {
            addCriterion("elec_gun_id is not null");
            return (Criteria) this;
        }

        public Criteria andElecGunIdEqualTo(Long value) {
            addCriterion("elec_gun_id =", value, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdNotEqualTo(Long value) {
            addCriterion("elec_gun_id <>", value, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdGreaterThan(Long value) {
            addCriterion("elec_gun_id >", value, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdGreaterThanOrEqualTo(Long value) {
            addCriterion("elec_gun_id >=", value, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdLessThan(Long value) {
            addCriterion("elec_gun_id <", value, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdLessThanOrEqualTo(Long value) {
            addCriterion("elec_gun_id <=", value, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdIn(List<Long> values) {
            addCriterion("elec_gun_id in", values, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdNotIn(List<Long> values) {
            addCriterion("elec_gun_id not in", values, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdBetween(Long value1, Long value2) {
            addCriterion("elec_gun_id between", value1, value2, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdNotBetween(Long value1, Long value2) {
            addCriterion("elec_gun_id not between", value1, value2, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNull() {
            addCriterion("order_num is null");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNotNull() {
            addCriterion("order_num is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNumEqualTo(String value) {
            addCriterion("order_num =", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotEqualTo(String value) {
            addCriterion("order_num <>", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThan(String value) {
            addCriterion("order_num >", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThanOrEqualTo(String value) {
            addCriterion("order_num >=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThan(String value) {
            addCriterion("order_num <", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThanOrEqualTo(String value) {
            addCriterion("order_num <=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLike(String value) {
            addCriterion("order_num like", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotLike(String value) {
            addCriterion("order_num not like", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumIn(List<String> values) {
            addCriterion("order_num in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotIn(List<String> values) {
            addCriterion("order_num not in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumBetween(String value1, String value2) {
            addCriterion("order_num between", value1, value2, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotBetween(String value1, String value2) {
            addCriterion("order_num not between", value1, value2, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumIsNull() {
            addCriterion("out_order_num is null");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumIsNotNull() {
            addCriterion("out_order_num is not null");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumEqualTo(String value) {
            addCriterion("out_order_num =", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumNotEqualTo(String value) {
            addCriterion("out_order_num <>", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumGreaterThan(String value) {
            addCriterion("out_order_num >", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumGreaterThanOrEqualTo(String value) {
            addCriterion("out_order_num >=", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumLessThan(String value) {
            addCriterion("out_order_num <", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumLessThanOrEqualTo(String value) {
            addCriterion("out_order_num <=", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumLike(String value) {
            addCriterion("out_order_num like", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumNotLike(String value) {
            addCriterion("out_order_num not like", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumIn(List<String> values) {
            addCriterion("out_order_num in", values, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumNotIn(List<String> values) {
            addCriterion("out_order_num not in", values, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumBetween(String value1, String value2) {
            addCriterion("out_order_num between", value1, value2, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumNotBetween(String value1, String value2) {
            addCriterion("out_order_num not between", value1, value2, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andAccountTypeIsNull() {
            addCriterion("account_type is null");
            return (Criteria) this;
        }

        public Criteria andAccountTypeIsNotNull() {
            addCriterion("account_type is not null");
            return (Criteria) this;
        }

        public Criteria andAccountTypeEqualTo(String value) {
            addCriterion("account_type =", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeNotEqualTo(String value) {
            addCriterion("account_type <>", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeGreaterThan(String value) {
            addCriterion("account_type >", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeGreaterThanOrEqualTo(String value) {
            addCriterion("account_type >=", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeLessThan(String value) {
            addCriterion("account_type <", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeLessThanOrEqualTo(String value) {
            addCriterion("account_type <=", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeLike(String value) {
            addCriterion("account_type like", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeNotLike(String value) {
            addCriterion("account_type not like", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeIn(List<String> values) {
            addCriterion("account_type in", values, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeNotIn(List<String> values) {
            addCriterion("account_type not in", values, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeBetween(String value1, String value2) {
            addCriterion("account_type between", value1, value2, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeNotBetween(String value1, String value2) {
            addCriterion("account_type not between", value1, value2, "accountType");
            return (Criteria) this;
        }

        public Criteria andStartCommandTimeIsNull() {
            addCriterion("start_command_time is null");
            return (Criteria) this;
        }

        public Criteria andStartCommandTimeIsNotNull() {
            addCriterion("start_command_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartCommandTimeEqualTo(Date value) {
            addCriterion("start_command_time =", value, "startCommandTime");
            return (Criteria) this;
        }

        public Criteria andStartCommandTimeNotEqualTo(Date value) {
            addCriterion("start_command_time <>", value, "startCommandTime");
            return (Criteria) this;
        }

        public Criteria andStartCommandTimeGreaterThan(Date value) {
            addCriterion("start_command_time >", value, "startCommandTime");
            return (Criteria) this;
        }

        public Criteria andStartCommandTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_command_time >=", value, "startCommandTime");
            return (Criteria) this;
        }

        public Criteria andStartCommandTimeLessThan(Date value) {
            addCriterion("start_command_time <", value, "startCommandTime");
            return (Criteria) this;
        }

        public Criteria andStartCommandTimeLessThanOrEqualTo(Date value) {
            addCriterion("start_command_time <=", value, "startCommandTime");
            return (Criteria) this;
        }

        public Criteria andStartCommandTimeIn(List<Date> values) {
            addCriterion("start_command_time in", values, "startCommandTime");
            return (Criteria) this;
        }

        public Criteria andStartCommandTimeNotIn(List<Date> values) {
            addCriterion("start_command_time not in", values, "startCommandTime");
            return (Criteria) this;
        }

        public Criteria andStartCommandTimeBetween(Date value1, Date value2) {
            addCriterion("start_command_time between", value1, value2, "startCommandTime");
            return (Criteria) this;
        }

        public Criteria andStartCommandTimeNotBetween(Date value1, Date value2) {
            addCriterion("start_command_time not between", value1, value2, "startCommandTime");
            return (Criteria) this;
        }

        public Criteria andStopCommandTimeIsNull() {
            addCriterion("stop_command_time is null");
            return (Criteria) this;
        }

        public Criteria andStopCommandTimeIsNotNull() {
            addCriterion("stop_command_time is not null");
            return (Criteria) this;
        }

        public Criteria andStopCommandTimeEqualTo(Date value) {
            addCriterion("stop_command_time =", value, "stopCommandTime");
            return (Criteria) this;
        }

        public Criteria andStopCommandTimeNotEqualTo(Date value) {
            addCriterion("stop_command_time <>", value, "stopCommandTime");
            return (Criteria) this;
        }

        public Criteria andStopCommandTimeGreaterThan(Date value) {
            addCriterion("stop_command_time >", value, "stopCommandTime");
            return (Criteria) this;
        }

        public Criteria andStopCommandTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("stop_command_time >=", value, "stopCommandTime");
            return (Criteria) this;
        }

        public Criteria andStopCommandTimeLessThan(Date value) {
            addCriterion("stop_command_time <", value, "stopCommandTime");
            return (Criteria) this;
        }

        public Criteria andStopCommandTimeLessThanOrEqualTo(Date value) {
            addCriterion("stop_command_time <=", value, "stopCommandTime");
            return (Criteria) this;
        }

        public Criteria andStopCommandTimeIn(List<Date> values) {
            addCriterion("stop_command_time in", values, "stopCommandTime");
            return (Criteria) this;
        }

        public Criteria andStopCommandTimeNotIn(List<Date> values) {
            addCriterion("stop_command_time not in", values, "stopCommandTime");
            return (Criteria) this;
        }

        public Criteria andStopCommandTimeBetween(Date value1, Date value2) {
            addCriterion("stop_command_time between", value1, value2, "stopCommandTime");
            return (Criteria) this;
        }

        public Criteria andStopCommandTimeNotBetween(Date value1, Date value2) {
            addCriterion("stop_command_time not between", value1, value2, "stopCommandTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andTotalPowerIsNull() {
            addCriterion("total_power is null");
            return (Criteria) this;
        }

        public Criteria andTotalPowerIsNotNull() {
            addCriterion("total_power is not null");
            return (Criteria) this;
        }

        public Criteria andTotalPowerEqualTo(BigDecimal value) {
            addCriterion("total_power =", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerNotEqualTo(BigDecimal value) {
            addCriterion("total_power <>", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerGreaterThan(BigDecimal value) {
            addCriterion("total_power >", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_power >=", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerLessThan(BigDecimal value) {
            addCriterion("total_power <", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_power <=", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerIn(List<BigDecimal> values) {
            addCriterion("total_power in", values, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerNotIn(List<BigDecimal> values) {
            addCriterion("total_power not in", values, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_power between", value1, value2, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_power not between", value1, value2, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyIsNull() {
            addCriterion("total_elec_money is null");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyIsNotNull() {
            addCriterion("total_elec_money is not null");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyEqualTo(BigDecimal value) {
            addCriterion("total_elec_money =", value, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyNotEqualTo(BigDecimal value) {
            addCriterion("total_elec_money <>", value, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyGreaterThan(BigDecimal value) {
            addCriterion("total_elec_money >", value, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_elec_money >=", value, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyLessThan(BigDecimal value) {
            addCriterion("total_elec_money <", value, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_elec_money <=", value, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyIn(List<BigDecimal> values) {
            addCriterion("total_elec_money in", values, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyNotIn(List<BigDecimal> values) {
            addCriterion("total_elec_money not in", values, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_elec_money between", value1, value2, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_elec_money not between", value1, value2, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyIsNull() {
            addCriterion("total_sevice_money is null");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyIsNotNull() {
            addCriterion("total_sevice_money is not null");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyEqualTo(BigDecimal value) {
            addCriterion("total_sevice_money =", value, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyNotEqualTo(BigDecimal value) {
            addCriterion("total_sevice_money <>", value, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyGreaterThan(BigDecimal value) {
            addCriterion("total_sevice_money >", value, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_sevice_money >=", value, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyLessThan(BigDecimal value) {
            addCriterion("total_sevice_money <", value, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_sevice_money <=", value, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyIn(List<BigDecimal> values) {
            addCriterion("total_sevice_money in", values, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyNotIn(List<BigDecimal> values) {
            addCriterion("total_sevice_money not in", values, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_sevice_money between", value1, value2, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_sevice_money not between", value1, value2, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIsNull() {
            addCriterion("total_money is null");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIsNotNull() {
            addCriterion("total_money is not null");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyEqualTo(BigDecimal value) {
            addCriterion("total_money =", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotEqualTo(BigDecimal value) {
            addCriterion("total_money <>", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyGreaterThan(BigDecimal value) {
            addCriterion("total_money >", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_money >=", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLessThan(BigDecimal value) {
            addCriterion("total_money <", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_money <=", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIn(List<BigDecimal> values) {
            addCriterion("total_money in", values, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotIn(List<BigDecimal> values) {
            addCriterion("total_money not in", values, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_money between", value1, value2, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_money not between", value1, value2, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountServiceAmountIsNull() {
            addCriterion("discount_service_amount is null");
            return (Criteria) this;
        }

        public Criteria andDiscountServiceAmountIsNotNull() {
            addCriterion("discount_service_amount is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountServiceAmountEqualTo(BigDecimal value) {
            addCriterion("discount_service_amount =", value, "discountServiceAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountServiceAmountNotEqualTo(BigDecimal value) {
            addCriterion("discount_service_amount <>", value, "discountServiceAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountServiceAmountGreaterThan(BigDecimal value) {
            addCriterion("discount_service_amount >", value, "discountServiceAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountServiceAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_service_amount >=", value, "discountServiceAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountServiceAmountLessThan(BigDecimal value) {
            addCriterion("discount_service_amount <", value, "discountServiceAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountServiceAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_service_amount <=", value, "discountServiceAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountServiceAmountIn(List<BigDecimal> values) {
            addCriterion("discount_service_amount in", values, "discountServiceAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountServiceAmountNotIn(List<BigDecimal> values) {
            addCriterion("discount_service_amount not in", values, "discountServiceAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountServiceAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_service_amount between", value1, value2, "discountServiceAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountServiceAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_service_amount not between", value1, value2, "discountServiceAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountIsNull() {
            addCriterion("discount_amount is null");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountIsNotNull() {
            addCriterion("discount_amount is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountEqualTo(BigDecimal value) {
            addCriterion("discount_amount =", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountNotEqualTo(BigDecimal value) {
            addCriterion("discount_amount <>", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountGreaterThan(BigDecimal value) {
            addCriterion("discount_amount >", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_amount >=", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountLessThan(BigDecimal value) {
            addCriterion("discount_amount <", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_amount <=", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountIn(List<BigDecimal> values) {
            addCriterion("discount_amount in", values, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountNotIn(List<BigDecimal> values) {
            addCriterion("discount_amount not in", values, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_amount between", value1, value2, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_amount not between", value1, value2, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountIsNull() {
            addCriterion("pay_amount is null");
            return (Criteria) this;
        }

        public Criteria andPayAmountIsNotNull() {
            addCriterion("pay_amount is not null");
            return (Criteria) this;
        }

        public Criteria andPayAmountEqualTo(BigDecimal value) {
            addCriterion("pay_amount =", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountNotEqualTo(BigDecimal value) {
            addCriterion("pay_amount <>", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountGreaterThan(BigDecimal value) {
            addCriterion("pay_amount >", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("pay_amount >=", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountLessThan(BigDecimal value) {
            addCriterion("pay_amount <", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("pay_amount <=", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountIn(List<BigDecimal> values) {
            addCriterion("pay_amount in", values, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountNotIn(List<BigDecimal> values) {
            addCriterion("pay_amount not in", values, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pay_amount between", value1, value2, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pay_amount not between", value1, value2, "payAmount");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeIsNull() {
            addCriterion("service_price_adjust_type is null");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeIsNotNull() {
            addCriterion("service_price_adjust_type is not null");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeEqualTo(String value) {
            addCriterion("service_price_adjust_type =", value, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeNotEqualTo(String value) {
            addCriterion("service_price_adjust_type <>", value, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeGreaterThan(String value) {
            addCriterion("service_price_adjust_type >", value, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeGreaterThanOrEqualTo(String value) {
            addCriterion("service_price_adjust_type >=", value, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeLessThan(String value) {
            addCriterion("service_price_adjust_type <", value, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeLessThanOrEqualTo(String value) {
            addCriterion("service_price_adjust_type <=", value, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeLike(String value) {
            addCriterion("service_price_adjust_type like", value, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeNotLike(String value) {
            addCriterion("service_price_adjust_type not like", value, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeIn(List<String> values) {
            addCriterion("service_price_adjust_type in", values, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeNotIn(List<String> values) {
            addCriterion("service_price_adjust_type not in", values, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeBetween(String value1, String value2) {
            addCriterion("service_price_adjust_type between", value1, value2, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeNotBetween(String value1, String value2) {
            addCriterion("service_price_adjust_type not between", value1, value2, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueIsNull() {
            addCriterion("service_price_adjust_value is null");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueIsNotNull() {
            addCriterion("service_price_adjust_value is not null");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueEqualTo(BigDecimal value) {
            addCriterion("service_price_adjust_value =", value, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueNotEqualTo(BigDecimal value) {
            addCriterion("service_price_adjust_value <>", value, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueGreaterThan(BigDecimal value) {
            addCriterion("service_price_adjust_value >", value, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("service_price_adjust_value >=", value, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueLessThan(BigDecimal value) {
            addCriterion("service_price_adjust_value <", value, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueLessThanOrEqualTo(BigDecimal value) {
            addCriterion("service_price_adjust_value <=", value, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueIn(List<BigDecimal> values) {
            addCriterion("service_price_adjust_value in", values, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueNotIn(List<BigDecimal> values) {
            addCriterion("service_price_adjust_value not in", values, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("service_price_adjust_value between", value1, value2, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("service_price_adjust_value not between", value1, value2, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustAmountIsNull() {
            addCriterion("service_adjust_amount is null");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustAmountIsNotNull() {
            addCriterion("service_adjust_amount is not null");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustAmountEqualTo(BigDecimal value) {
            addCriterion("service_adjust_amount =", value, "serviceAdjustAmount");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustAmountNotEqualTo(BigDecimal value) {
            addCriterion("service_adjust_amount <>", value, "serviceAdjustAmount");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustAmountGreaterThan(BigDecimal value) {
            addCriterion("service_adjust_amount >", value, "serviceAdjustAmount");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("service_adjust_amount >=", value, "serviceAdjustAmount");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustAmountLessThan(BigDecimal value) {
            addCriterion("service_adjust_amount <", value, "serviceAdjustAmount");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("service_adjust_amount <=", value, "serviceAdjustAmount");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustAmountIn(List<BigDecimal> values) {
            addCriterion("service_adjust_amount in", values, "serviceAdjustAmount");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustAmountNotIn(List<BigDecimal> values) {
            addCriterion("service_adjust_amount not in", values, "serviceAdjustAmount");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("service_adjust_amount between", value1, value2, "serviceAdjustAmount");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("service_adjust_amount not between", value1, value2, "serviceAdjustAmount");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustDiscAmountIsNull() {
            addCriterion("service_adjust_disc_amount is null");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustDiscAmountIsNotNull() {
            addCriterion("service_adjust_disc_amount is not null");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustDiscAmountEqualTo(BigDecimal value) {
            addCriterion("service_adjust_disc_amount =", value, "serviceAdjustDiscAmount");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustDiscAmountNotEqualTo(BigDecimal value) {
            addCriterion("service_adjust_disc_amount <>", value, "serviceAdjustDiscAmount");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustDiscAmountGreaterThan(BigDecimal value) {
            addCriterion("service_adjust_disc_amount >", value, "serviceAdjustDiscAmount");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustDiscAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("service_adjust_disc_amount >=", value, "serviceAdjustDiscAmount");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustDiscAmountLessThan(BigDecimal value) {
            addCriterion("service_adjust_disc_amount <", value, "serviceAdjustDiscAmount");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustDiscAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("service_adjust_disc_amount <=", value, "serviceAdjustDiscAmount");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustDiscAmountIn(List<BigDecimal> values) {
            addCriterion("service_adjust_disc_amount in", values, "serviceAdjustDiscAmount");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustDiscAmountNotIn(List<BigDecimal> values) {
            addCriterion("service_adjust_disc_amount not in", values, "serviceAdjustDiscAmount");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustDiscAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("service_adjust_disc_amount between", value1, value2, "serviceAdjustDiscAmount");
            return (Criteria) this;
        }

        public Criteria andServiceAdjustDiscAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("service_adjust_disc_amount not between", value1, value2, "serviceAdjustDiscAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustTotalMoneyIsNull() {
            addCriterion("adjust_total_money is null");
            return (Criteria) this;
        }

        public Criteria andAdjustTotalMoneyIsNotNull() {
            addCriterion("adjust_total_money is not null");
            return (Criteria) this;
        }

        public Criteria andAdjustTotalMoneyEqualTo(BigDecimal value) {
            addCriterion("adjust_total_money =", value, "adjustTotalMoney");
            return (Criteria) this;
        }

        public Criteria andAdjustTotalMoneyNotEqualTo(BigDecimal value) {
            addCriterion("adjust_total_money <>", value, "adjustTotalMoney");
            return (Criteria) this;
        }

        public Criteria andAdjustTotalMoneyGreaterThan(BigDecimal value) {
            addCriterion("adjust_total_money >", value, "adjustTotalMoney");
            return (Criteria) this;
        }

        public Criteria andAdjustTotalMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("adjust_total_money >=", value, "adjustTotalMoney");
            return (Criteria) this;
        }

        public Criteria andAdjustTotalMoneyLessThan(BigDecimal value) {
            addCriterion("adjust_total_money <", value, "adjustTotalMoney");
            return (Criteria) this;
        }

        public Criteria andAdjustTotalMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("adjust_total_money <=", value, "adjustTotalMoney");
            return (Criteria) this;
        }

        public Criteria andAdjustTotalMoneyIn(List<BigDecimal> values) {
            addCriterion("adjust_total_money in", values, "adjustTotalMoney");
            return (Criteria) this;
        }

        public Criteria andAdjustTotalMoneyNotIn(List<BigDecimal> values) {
            addCriterion("adjust_total_money not in", values, "adjustTotalMoney");
            return (Criteria) this;
        }

        public Criteria andAdjustTotalMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("adjust_total_money between", value1, value2, "adjustTotalMoney");
            return (Criteria) this;
        }

        public Criteria andAdjustTotalMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("adjust_total_money not between", value1, value2, "adjustTotalMoney");
            return (Criteria) this;
        }

        public Criteria andAdjustPayAmountIsNull() {
            addCriterion("adjust_pay_amount is null");
            return (Criteria) this;
        }

        public Criteria andAdjustPayAmountIsNotNull() {
            addCriterion("adjust_pay_amount is not null");
            return (Criteria) this;
        }

        public Criteria andAdjustPayAmountEqualTo(BigDecimal value) {
            addCriterion("adjust_pay_amount =", value, "adjustPayAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustPayAmountNotEqualTo(BigDecimal value) {
            addCriterion("adjust_pay_amount <>", value, "adjustPayAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustPayAmountGreaterThan(BigDecimal value) {
            addCriterion("adjust_pay_amount >", value, "adjustPayAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustPayAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("adjust_pay_amount >=", value, "adjustPayAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustPayAmountLessThan(BigDecimal value) {
            addCriterion("adjust_pay_amount <", value, "adjustPayAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustPayAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("adjust_pay_amount <=", value, "adjustPayAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustPayAmountIn(List<BigDecimal> values) {
            addCriterion("adjust_pay_amount in", values, "adjustPayAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustPayAmountNotIn(List<BigDecimal> values) {
            addCriterion("adjust_pay_amount not in", values, "adjustPayAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustPayAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("adjust_pay_amount between", value1, value2, "adjustPayAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustPayAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("adjust_pay_amount not between", value1, value2, "adjustPayAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceDiffAmountIsNull() {
            addCriterion("adjust_service_diff_amount is null");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceDiffAmountIsNotNull() {
            addCriterion("adjust_service_diff_amount is not null");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceDiffAmountEqualTo(BigDecimal value) {
            addCriterion("adjust_service_diff_amount =", value, "adjustServiceDiffAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceDiffAmountNotEqualTo(BigDecimal value) {
            addCriterion("adjust_service_diff_amount <>", value, "adjustServiceDiffAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceDiffAmountGreaterThan(BigDecimal value) {
            addCriterion("adjust_service_diff_amount >", value, "adjustServiceDiffAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceDiffAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("adjust_service_diff_amount >=", value, "adjustServiceDiffAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceDiffAmountLessThan(BigDecimal value) {
            addCriterion("adjust_service_diff_amount <", value, "adjustServiceDiffAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceDiffAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("adjust_service_diff_amount <=", value, "adjustServiceDiffAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceDiffAmountIn(List<BigDecimal> values) {
            addCriterion("adjust_service_diff_amount in", values, "adjustServiceDiffAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceDiffAmountNotIn(List<BigDecimal> values) {
            addCriterion("adjust_service_diff_amount not in", values, "adjustServiceDiffAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceDiffAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("adjust_service_diff_amount between", value1, value2, "adjustServiceDiffAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceDiffAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("adjust_service_diff_amount not between", value1, value2, "adjustServiceDiffAmount");
            return (Criteria) this;
        }

        public Criteria andStopReasonIsNull() {
            addCriterion("stop_reason is null");
            return (Criteria) this;
        }

        public Criteria andStopReasonIsNotNull() {
            addCriterion("stop_reason is not null");
            return (Criteria) this;
        }

        public Criteria andStopReasonEqualTo(Integer value) {
            addCriterion("stop_reason =", value, "stopReason");
            return (Criteria) this;
        }

        public Criteria andStopReasonNotEqualTo(Integer value) {
            addCriterion("stop_reason <>", value, "stopReason");
            return (Criteria) this;
        }

        public Criteria andStopReasonGreaterThan(Integer value) {
            addCriterion("stop_reason >", value, "stopReason");
            return (Criteria) this;
        }

        public Criteria andStopReasonGreaterThanOrEqualTo(Integer value) {
            addCriterion("stop_reason >=", value, "stopReason");
            return (Criteria) this;
        }

        public Criteria andStopReasonLessThan(Integer value) {
            addCriterion("stop_reason <", value, "stopReason");
            return (Criteria) this;
        }

        public Criteria andStopReasonLessThanOrEqualTo(Integer value) {
            addCriterion("stop_reason <=", value, "stopReason");
            return (Criteria) this;
        }

        public Criteria andStopReasonIn(List<Integer> values) {
            addCriterion("stop_reason in", values, "stopReason");
            return (Criteria) this;
        }

        public Criteria andStopReasonNotIn(List<Integer> values) {
            addCriterion("stop_reason not in", values, "stopReason");
            return (Criteria) this;
        }

        public Criteria andStopReasonBetween(Integer value1, Integer value2) {
            addCriterion("stop_reason between", value1, value2, "stopReason");
            return (Criteria) this;
        }

        public Criteria andStopReasonNotBetween(Integer value1, Integer value2) {
            addCriterion("stop_reason not between", value1, value2, "stopReason");
            return (Criteria) this;
        }

        public Criteria andPileStopReasonIsNull() {
            addCriterion("pile_stop_reason is null");
            return (Criteria) this;
        }

        public Criteria andPileStopReasonIsNotNull() {
            addCriterion("pile_stop_reason is not null");
            return (Criteria) this;
        }

        public Criteria andPileStopReasonEqualTo(Integer value) {
            addCriterion("pile_stop_reason =", value, "pileStopReason");
            return (Criteria) this;
        }

        public Criteria andPileStopReasonNotEqualTo(Integer value) {
            addCriterion("pile_stop_reason <>", value, "pileStopReason");
            return (Criteria) this;
        }

        public Criteria andPileStopReasonGreaterThan(Integer value) {
            addCriterion("pile_stop_reason >", value, "pileStopReason");
            return (Criteria) this;
        }

        public Criteria andPileStopReasonGreaterThanOrEqualTo(Integer value) {
            addCriterion("pile_stop_reason >=", value, "pileStopReason");
            return (Criteria) this;
        }

        public Criteria andPileStopReasonLessThan(Integer value) {
            addCriterion("pile_stop_reason <", value, "pileStopReason");
            return (Criteria) this;
        }

        public Criteria andPileStopReasonLessThanOrEqualTo(Integer value) {
            addCriterion("pile_stop_reason <=", value, "pileStopReason");
            return (Criteria) this;
        }

        public Criteria andPileStopReasonIn(List<Integer> values) {
            addCriterion("pile_stop_reason in", values, "pileStopReason");
            return (Criteria) this;
        }

        public Criteria andPileStopReasonNotIn(List<Integer> values) {
            addCriterion("pile_stop_reason not in", values, "pileStopReason");
            return (Criteria) this;
        }

        public Criteria andPileStopReasonBetween(Integer value1, Integer value2) {
            addCriterion("pile_stop_reason between", value1, value2, "pileStopReason");
            return (Criteria) this;
        }

        public Criteria andPileStopReasonNotBetween(Integer value1, Integer value2) {
            addCriterion("pile_stop_reason not between", value1, value2, "pileStopReason");
            return (Criteria) this;
        }

        public Criteria andSumPeriodIsNull() {
            addCriterion("sum_period is null");
            return (Criteria) this;
        }

        public Criteria andSumPeriodIsNotNull() {
            addCriterion("sum_period is not null");
            return (Criteria) this;
        }

        public Criteria andSumPeriodEqualTo(Integer value) {
            addCriterion("sum_period =", value, "sumPeriod");
            return (Criteria) this;
        }

        public Criteria andSumPeriodNotEqualTo(Integer value) {
            addCriterion("sum_period <>", value, "sumPeriod");
            return (Criteria) this;
        }

        public Criteria andSumPeriodGreaterThan(Integer value) {
            addCriterion("sum_period >", value, "sumPeriod");
            return (Criteria) this;
        }

        public Criteria andSumPeriodGreaterThanOrEqualTo(Integer value) {
            addCriterion("sum_period >=", value, "sumPeriod");
            return (Criteria) this;
        }

        public Criteria andSumPeriodLessThan(Integer value) {
            addCriterion("sum_period <", value, "sumPeriod");
            return (Criteria) this;
        }

        public Criteria andSumPeriodLessThanOrEqualTo(Integer value) {
            addCriterion("sum_period <=", value, "sumPeriod");
            return (Criteria) this;
        }

        public Criteria andSumPeriodIn(List<Integer> values) {
            addCriterion("sum_period in", values, "sumPeriod");
            return (Criteria) this;
        }

        public Criteria andSumPeriodNotIn(List<Integer> values) {
            addCriterion("sum_period not in", values, "sumPeriod");
            return (Criteria) this;
        }

        public Criteria andSumPeriodBetween(Integer value1, Integer value2) {
            addCriterion("sum_period between", value1, value2, "sumPeriod");
            return (Criteria) this;
        }

        public Criteria andSumPeriodNotBetween(Integer value1, Integer value2) {
            addCriterion("sum_period not between", value1, value2, "sumPeriod");
            return (Criteria) this;
        }

        public Criteria andEvaluateIsNull() {
            addCriterion("evaluate is null");
            return (Criteria) this;
        }

        public Criteria andEvaluateIsNotNull() {
            addCriterion("evaluate is not null");
            return (Criteria) this;
        }

        public Criteria andEvaluateEqualTo(String value) {
            addCriterion("evaluate =", value, "evaluate");
            return (Criteria) this;
        }

        public Criteria andEvaluateNotEqualTo(String value) {
            addCriterion("evaluate <>", value, "evaluate");
            return (Criteria) this;
        }

        public Criteria andEvaluateGreaterThan(String value) {
            addCriterion("evaluate >", value, "evaluate");
            return (Criteria) this;
        }

        public Criteria andEvaluateGreaterThanOrEqualTo(String value) {
            addCriterion("evaluate >=", value, "evaluate");
            return (Criteria) this;
        }

        public Criteria andEvaluateLessThan(String value) {
            addCriterion("evaluate <", value, "evaluate");
            return (Criteria) this;
        }

        public Criteria andEvaluateLessThanOrEqualTo(String value) {
            addCriterion("evaluate <=", value, "evaluate");
            return (Criteria) this;
        }

        public Criteria andEvaluateLike(String value) {
            addCriterion("evaluate like", value, "evaluate");
            return (Criteria) this;
        }

        public Criteria andEvaluateNotLike(String value) {
            addCriterion("evaluate not like", value, "evaluate");
            return (Criteria) this;
        }

        public Criteria andEvaluateIn(List<String> values) {
            addCriterion("evaluate in", values, "evaluate");
            return (Criteria) this;
        }

        public Criteria andEvaluateNotIn(List<String> values) {
            addCriterion("evaluate not in", values, "evaluate");
            return (Criteria) this;
        }

        public Criteria andEvaluateBetween(String value1, String value2) {
            addCriterion("evaluate between", value1, value2, "evaluate");
            return (Criteria) this;
        }

        public Criteria andEvaluateNotBetween(String value1, String value2) {
            addCriterion("evaluate not between", value1, value2, "evaluate");
            return (Criteria) this;
        }

        public Criteria andEvaStarIsNull() {
            addCriterion("eva_star is null");
            return (Criteria) this;
        }

        public Criteria andEvaStarIsNotNull() {
            addCriterion("eva_star is not null");
            return (Criteria) this;
        }

        public Criteria andEvaStarEqualTo(Integer value) {
            addCriterion("eva_star =", value, "evaStar");
            return (Criteria) this;
        }

        public Criteria andEvaStarNotEqualTo(Integer value) {
            addCriterion("eva_star <>", value, "evaStar");
            return (Criteria) this;
        }

        public Criteria andEvaStarGreaterThan(Integer value) {
            addCriterion("eva_star >", value, "evaStar");
            return (Criteria) this;
        }

        public Criteria andEvaStarGreaterThanOrEqualTo(Integer value) {
            addCriterion("eva_star >=", value, "evaStar");
            return (Criteria) this;
        }

        public Criteria andEvaStarLessThan(Integer value) {
            addCriterion("eva_star <", value, "evaStar");
            return (Criteria) this;
        }

        public Criteria andEvaStarLessThanOrEqualTo(Integer value) {
            addCriterion("eva_star <=", value, "evaStar");
            return (Criteria) this;
        }

        public Criteria andEvaStarIn(List<Integer> values) {
            addCriterion("eva_star in", values, "evaStar");
            return (Criteria) this;
        }

        public Criteria andEvaStarNotIn(List<Integer> values) {
            addCriterion("eva_star not in", values, "evaStar");
            return (Criteria) this;
        }

        public Criteria andEvaStarBetween(Integer value1, Integer value2) {
            addCriterion("eva_star between", value1, value2, "evaStar");
            return (Criteria) this;
        }

        public Criteria andEvaStarNotBetween(Integer value1, Integer value2) {
            addCriterion("eva_star not between", value1, value2, "evaStar");
            return (Criteria) this;
        }

        public Criteria andBeginSocIsNull() {
            addCriterion("begin_soc is null");
            return (Criteria) this;
        }

        public Criteria andBeginSocIsNotNull() {
            addCriterion("begin_soc is not null");
            return (Criteria) this;
        }

        public Criteria andBeginSocEqualTo(BigDecimal value) {
            addCriterion("begin_soc =", value, "beginSoc");
            return (Criteria) this;
        }

        public Criteria andBeginSocNotEqualTo(BigDecimal value) {
            addCriterion("begin_soc <>", value, "beginSoc");
            return (Criteria) this;
        }

        public Criteria andBeginSocGreaterThan(BigDecimal value) {
            addCriterion("begin_soc >", value, "beginSoc");
            return (Criteria) this;
        }

        public Criteria andBeginSocGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("begin_soc >=", value, "beginSoc");
            return (Criteria) this;
        }

        public Criteria andBeginSocLessThan(BigDecimal value) {
            addCriterion("begin_soc <", value, "beginSoc");
            return (Criteria) this;
        }

        public Criteria andBeginSocLessThanOrEqualTo(BigDecimal value) {
            addCriterion("begin_soc <=", value, "beginSoc");
            return (Criteria) this;
        }

        public Criteria andBeginSocIn(List<BigDecimal> values) {
            addCriterion("begin_soc in", values, "beginSoc");
            return (Criteria) this;
        }

        public Criteria andBeginSocNotIn(List<BigDecimal> values) {
            addCriterion("begin_soc not in", values, "beginSoc");
            return (Criteria) this;
        }

        public Criteria andBeginSocBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("begin_soc between", value1, value2, "beginSoc");
            return (Criteria) this;
        }

        public Criteria andBeginSocNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("begin_soc not between", value1, value2, "beginSoc");
            return (Criteria) this;
        }

        public Criteria andSocIsNull() {
            addCriterion("soc is null");
            return (Criteria) this;
        }

        public Criteria andSocIsNotNull() {
            addCriterion("soc is not null");
            return (Criteria) this;
        }

        public Criteria andSocEqualTo(BigDecimal value) {
            addCriterion("soc =", value, "soc");
            return (Criteria) this;
        }

        public Criteria andSocNotEqualTo(BigDecimal value) {
            addCriterion("soc <>", value, "soc");
            return (Criteria) this;
        }

        public Criteria andSocGreaterThan(BigDecimal value) {
            addCriterion("soc >", value, "soc");
            return (Criteria) this;
        }

        public Criteria andSocGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("soc >=", value, "soc");
            return (Criteria) this;
        }

        public Criteria andSocLessThan(BigDecimal value) {
            addCriterion("soc <", value, "soc");
            return (Criteria) this;
        }

        public Criteria andSocLessThanOrEqualTo(BigDecimal value) {
            addCriterion("soc <=", value, "soc");
            return (Criteria) this;
        }

        public Criteria andSocIn(List<BigDecimal> values) {
            addCriterion("soc in", values, "soc");
            return (Criteria) this;
        }

        public Criteria andSocNotIn(List<BigDecimal> values) {
            addCriterion("soc not in", values, "soc");
            return (Criteria) this;
        }

        public Criteria andSocBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("soc between", value1, value2, "soc");
            return (Criteria) this;
        }

        public Criteria andSocNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("soc not between", value1, value2, "soc");
            return (Criteria) this;
        }

        public Criteria andDriverIdIsNull() {
            addCriterion("driver_id is null");
            return (Criteria) this;
        }

        public Criteria andDriverIdIsNotNull() {
            addCriterion("driver_id is not null");
            return (Criteria) this;
        }

        public Criteria andDriverIdEqualTo(String value) {
            addCriterion("driver_id =", value, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdNotEqualTo(String value) {
            addCriterion("driver_id <>", value, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdGreaterThan(String value) {
            addCriterion("driver_id >", value, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdGreaterThanOrEqualTo(String value) {
            addCriterion("driver_id >=", value, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdLessThan(String value) {
            addCriterion("driver_id <", value, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdLessThanOrEqualTo(String value) {
            addCriterion("driver_id <=", value, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdLike(String value) {
            addCriterion("driver_id like", value, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdNotLike(String value) {
            addCriterion("driver_id not like", value, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdIn(List<String> values) {
            addCriterion("driver_id in", values, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdNotIn(List<String> values) {
            addCriterion("driver_id not in", values, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdBetween(String value1, String value2) {
            addCriterion("driver_id between", value1, value2, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdNotBetween(String value1, String value2) {
            addCriterion("driver_id not between", value1, value2, "driverId");
            return (Criteria) this;
        }

        public Criteria andCarNumIsNull() {
            addCriterion("car_num is null");
            return (Criteria) this;
        }

        public Criteria andCarNumIsNotNull() {
            addCriterion("car_num is not null");
            return (Criteria) this;
        }

        public Criteria andCarNumEqualTo(String value) {
            addCriterion("car_num =", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumNotEqualTo(String value) {
            addCriterion("car_num <>", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumGreaterThan(String value) {
            addCriterion("car_num >", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumGreaterThanOrEqualTo(String value) {
            addCriterion("car_num >=", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumLessThan(String value) {
            addCriterion("car_num <", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumLessThanOrEqualTo(String value) {
            addCriterion("car_num <=", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumLike(String value) {
            addCriterion("car_num like", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumNotLike(String value) {
            addCriterion("car_num not like", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumIn(List<String> values) {
            addCriterion("car_num in", values, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumNotIn(List<String> values) {
            addCriterion("car_num not in", values, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumBetween(String value1, String value2) {
            addCriterion("car_num between", value1, value2, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumNotBetween(String value1, String value2) {
            addCriterion("car_num not between", value1, value2, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarVinIsNull() {
            addCriterion("car_vin is null");
            return (Criteria) this;
        }

        public Criteria andCarVinIsNotNull() {
            addCriterion("car_vin is not null");
            return (Criteria) this;
        }

        public Criteria andCarVinEqualTo(String value) {
            addCriterion("car_vin =", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinNotEqualTo(String value) {
            addCriterion("car_vin <>", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinGreaterThan(String value) {
            addCriterion("car_vin >", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinGreaterThanOrEqualTo(String value) {
            addCriterion("car_vin >=", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinLessThan(String value) {
            addCriterion("car_vin <", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinLessThanOrEqualTo(String value) {
            addCriterion("car_vin <=", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinLike(String value) {
            addCriterion("car_vin like", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinNotLike(String value) {
            addCriterion("car_vin not like", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinIn(List<String> values) {
            addCriterion("car_vin in", values, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinNotIn(List<String> values) {
            addCriterion("car_vin not in", values, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinBetween(String value1, String value2) {
            addCriterion("car_vin between", value1, value2, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinNotBetween(String value1, String value2) {
            addCriterion("car_vin not between", value1, value2, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarTypeIsNull() {
            addCriterion("car_type is null");
            return (Criteria) this;
        }

        public Criteria andCarTypeIsNotNull() {
            addCriterion("car_type is not null");
            return (Criteria) this;
        }

        public Criteria andCarTypeEqualTo(String value) {
            addCriterion("car_type =", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotEqualTo(String value) {
            addCriterion("car_type <>", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeGreaterThan(String value) {
            addCriterion("car_type >", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeGreaterThanOrEqualTo(String value) {
            addCriterion("car_type >=", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeLessThan(String value) {
            addCriterion("car_type <", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeLessThanOrEqualTo(String value) {
            addCriterion("car_type <=", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeLike(String value) {
            addCriterion("car_type like", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotLike(String value) {
            addCriterion("car_type not like", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeIn(List<String> values) {
            addCriterion("car_type in", values, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotIn(List<String> values) {
            addCriterion("car_type not in", values, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeBetween(String value1, String value2) {
            addCriterion("car_type between", value1, value2, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotBetween(String value1, String value2) {
            addCriterion("car_type not between", value1, value2, "carType");
            return (Criteria) this;
        }

        public Criteria andElecPricesIsNull() {
            addCriterion("elec_prices is null");
            return (Criteria) this;
        }

        public Criteria andElecPricesIsNotNull() {
            addCriterion("elec_prices is not null");
            return (Criteria) this;
        }

        public Criteria andElecPricesEqualTo(String value) {
            addCriterion("elec_prices =", value, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesNotEqualTo(String value) {
            addCriterion("elec_prices <>", value, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesGreaterThan(String value) {
            addCriterion("elec_prices >", value, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesGreaterThanOrEqualTo(String value) {
            addCriterion("elec_prices >=", value, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesLessThan(String value) {
            addCriterion("elec_prices <", value, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesLessThanOrEqualTo(String value) {
            addCriterion("elec_prices <=", value, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesLike(String value) {
            addCriterion("elec_prices like", value, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesNotLike(String value) {
            addCriterion("elec_prices not like", value, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesIn(List<String> values) {
            addCriterion("elec_prices in", values, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesNotIn(List<String> values) {
            addCriterion("elec_prices not in", values, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesBetween(String value1, String value2) {
            addCriterion("elec_prices between", value1, value2, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesNotBetween(String value1, String value2) {
            addCriterion("elec_prices not between", value1, value2, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesIsNull() {
            addCriterion("service_prices is null");
            return (Criteria) this;
        }

        public Criteria andServicePricesIsNotNull() {
            addCriterion("service_prices is not null");
            return (Criteria) this;
        }

        public Criteria andServicePricesEqualTo(String value) {
            addCriterion("service_prices =", value, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesNotEqualTo(String value) {
            addCriterion("service_prices <>", value, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesGreaterThan(String value) {
            addCriterion("service_prices >", value, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesGreaterThanOrEqualTo(String value) {
            addCriterion("service_prices >=", value, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesLessThan(String value) {
            addCriterion("service_prices <", value, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesLessThanOrEqualTo(String value) {
            addCriterion("service_prices <=", value, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesLike(String value) {
            addCriterion("service_prices like", value, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesNotLike(String value) {
            addCriterion("service_prices not like", value, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesIn(List<String> values) {
            addCriterion("service_prices in", values, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesNotIn(List<String> values) {
            addCriterion("service_prices not in", values, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesBetween(String value1, String value2) {
            addCriterion("service_prices between", value1, value2, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesNotBetween(String value1, String value2) {
            addCriterion("service_prices not between", value1, value2, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServicePricesIsNull() {
            addCriterion("adjust_service_prices is null");
            return (Criteria) this;
        }

        public Criteria andAdjustServicePricesIsNotNull() {
            addCriterion("adjust_service_prices is not null");
            return (Criteria) this;
        }

        public Criteria andAdjustServicePricesEqualTo(String value) {
            addCriterion("adjust_service_prices =", value, "adjustServicePrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServicePricesNotEqualTo(String value) {
            addCriterion("adjust_service_prices <>", value, "adjustServicePrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServicePricesGreaterThan(String value) {
            addCriterion("adjust_service_prices >", value, "adjustServicePrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServicePricesGreaterThanOrEqualTo(String value) {
            addCriterion("adjust_service_prices >=", value, "adjustServicePrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServicePricesLessThan(String value) {
            addCriterion("adjust_service_prices <", value, "adjustServicePrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServicePricesLessThanOrEqualTo(String value) {
            addCriterion("adjust_service_prices <=", value, "adjustServicePrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServicePricesLike(String value) {
            addCriterion("adjust_service_prices like", value, "adjustServicePrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServicePricesNotLike(String value) {
            addCriterion("adjust_service_prices not like", value, "adjustServicePrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServicePricesIn(List<String> values) {
            addCriterion("adjust_service_prices in", values, "adjustServicePrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServicePricesNotIn(List<String> values) {
            addCriterion("adjust_service_prices not in", values, "adjustServicePrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServicePricesBetween(String value1, String value2) {
            addCriterion("adjust_service_prices between", value1, value2, "adjustServicePrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServicePricesNotBetween(String value1, String value2) {
            addCriterion("adjust_service_prices not between", value1, value2, "adjustServicePrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceFactPricesIsNull() {
            addCriterion("adjust_service_fact_prices is null");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceFactPricesIsNotNull() {
            addCriterion("adjust_service_fact_prices is not null");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceFactPricesEqualTo(String value) {
            addCriterion("adjust_service_fact_prices =", value, "adjustServiceFactPrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceFactPricesNotEqualTo(String value) {
            addCriterion("adjust_service_fact_prices <>", value, "adjustServiceFactPrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceFactPricesGreaterThan(String value) {
            addCriterion("adjust_service_fact_prices >", value, "adjustServiceFactPrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceFactPricesGreaterThanOrEqualTo(String value) {
            addCriterion("adjust_service_fact_prices >=", value, "adjustServiceFactPrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceFactPricesLessThan(String value) {
            addCriterion("adjust_service_fact_prices <", value, "adjustServiceFactPrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceFactPricesLessThanOrEqualTo(String value) {
            addCriterion("adjust_service_fact_prices <=", value, "adjustServiceFactPrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceFactPricesLike(String value) {
            addCriterion("adjust_service_fact_prices like", value, "adjustServiceFactPrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceFactPricesNotLike(String value) {
            addCriterion("adjust_service_fact_prices not like", value, "adjustServiceFactPrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceFactPricesIn(List<String> values) {
            addCriterion("adjust_service_fact_prices in", values, "adjustServiceFactPrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceFactPricesNotIn(List<String> values) {
            addCriterion("adjust_service_fact_prices not in", values, "adjustServiceFactPrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceFactPricesBetween(String value1, String value2) {
            addCriterion("adjust_service_fact_prices between", value1, value2, "adjustServiceFactPrices");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceFactPricesNotBetween(String value1, String value2) {
            addCriterion("adjust_service_fact_prices not between", value1, value2, "adjustServiceFactPrices");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdIsNull() {
            addCriterion("invoice_id is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdIsNotNull() {
            addCriterion("invoice_id is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdEqualTo(Long value) {
            addCriterion("invoice_id =", value, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdNotEqualTo(Long value) {
            addCriterion("invoice_id <>", value, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdGreaterThan(Long value) {
            addCriterion("invoice_id >", value, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdGreaterThanOrEqualTo(Long value) {
            addCriterion("invoice_id >=", value, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdLessThan(Long value) {
            addCriterion("invoice_id <", value, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdLessThanOrEqualTo(Long value) {
            addCriterion("invoice_id <=", value, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdIn(List<Long> values) {
            addCriterion("invoice_id in", values, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdNotIn(List<Long> values) {
            addCriterion("invoice_id not in", values, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdBetween(Long value1, Long value2) {
            addCriterion("invoice_id between", value1, value2, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdNotBetween(Long value1, Long value2) {
            addCriterion("invoice_id not between", value1, value2, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andStartTypeIsNull() {
            addCriterion("start_type is null");
            return (Criteria) this;
        }

        public Criteria andStartTypeIsNotNull() {
            addCriterion("start_type is not null");
            return (Criteria) this;
        }

        public Criteria andStartTypeEqualTo(String value) {
            addCriterion("start_type =", value, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeNotEqualTo(String value) {
            addCriterion("start_type <>", value, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeGreaterThan(String value) {
            addCriterion("start_type >", value, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeGreaterThanOrEqualTo(String value) {
            addCriterion("start_type >=", value, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeLessThan(String value) {
            addCriterion("start_type <", value, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeLessThanOrEqualTo(String value) {
            addCriterion("start_type <=", value, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeLike(String value) {
            addCriterion("start_type like", value, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeNotLike(String value) {
            addCriterion("start_type not like", value, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeIn(List<String> values) {
            addCriterion("start_type in", values, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeNotIn(List<String> values) {
            addCriterion("start_type not in", values, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeBetween(String value1, String value2) {
            addCriterion("start_type between", value1, value2, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeNotBetween(String value1, String value2) {
            addCriterion("start_type not between", value1, value2, "startType");
            return (Criteria) this;
        }

        public Criteria andOrderSourceIsNull() {
            addCriterion("order_source is null");
            return (Criteria) this;
        }

        public Criteria andOrderSourceIsNotNull() {
            addCriterion("order_source is not null");
            return (Criteria) this;
        }

        public Criteria andOrderSourceEqualTo(String value) {
            addCriterion("order_source =", value, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceNotEqualTo(String value) {
            addCriterion("order_source <>", value, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceGreaterThan(String value) {
            addCriterion("order_source >", value, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceGreaterThanOrEqualTo(String value) {
            addCriterion("order_source >=", value, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceLessThan(String value) {
            addCriterion("order_source <", value, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceLessThanOrEqualTo(String value) {
            addCriterion("order_source <=", value, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceLike(String value) {
            addCriterion("order_source like", value, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceNotLike(String value) {
            addCriterion("order_source not like", value, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceIn(List<String> values) {
            addCriterion("order_source in", values, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceNotIn(List<String> values) {
            addCriterion("order_source not in", values, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceBetween(String value1, String value2) {
            addCriterion("order_source between", value1, value2, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceNotBetween(String value1, String value2) {
            addCriterion("order_source not between", value1, value2, "orderSource");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeIsNull() {
            addCriterion("ticket_using_type is null");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeIsNotNull() {
            addCriterion("ticket_using_type is not null");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeEqualTo(String value) {
            addCriterion("ticket_using_type =", value, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeNotEqualTo(String value) {
            addCriterion("ticket_using_type <>", value, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeGreaterThan(String value) {
            addCriterion("ticket_using_type >", value, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeGreaterThanOrEqualTo(String value) {
            addCriterion("ticket_using_type >=", value, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeLessThan(String value) {
            addCriterion("ticket_using_type <", value, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeLessThanOrEqualTo(String value) {
            addCriterion("ticket_using_type <=", value, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeLike(String value) {
            addCriterion("ticket_using_type like", value, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeNotLike(String value) {
            addCriterion("ticket_using_type not like", value, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeIn(List<String> values) {
            addCriterion("ticket_using_type in", values, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeNotIn(List<String> values) {
            addCriterion("ticket_using_type not in", values, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeBetween(String value1, String value2) {
            addCriterion("ticket_using_type between", value1, value2, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeNotBetween(String value1, String value2) {
            addCriterion("ticket_using_type not between", value1, value2, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andBillPrintCountIsNull() {
            addCriterion("bill_print_count is null");
            return (Criteria) this;
        }

        public Criteria andBillPrintCountIsNotNull() {
            addCriterion("bill_print_count is not null");
            return (Criteria) this;
        }

        public Criteria andBillPrintCountEqualTo(Integer value) {
            addCriterion("bill_print_count =", value, "billPrintCount");
            return (Criteria) this;
        }

        public Criteria andBillPrintCountNotEqualTo(Integer value) {
            addCriterion("bill_print_count <>", value, "billPrintCount");
            return (Criteria) this;
        }

        public Criteria andBillPrintCountGreaterThan(Integer value) {
            addCriterion("bill_print_count >", value, "billPrintCount");
            return (Criteria) this;
        }

        public Criteria andBillPrintCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("bill_print_count >=", value, "billPrintCount");
            return (Criteria) this;
        }

        public Criteria andBillPrintCountLessThan(Integer value) {
            addCriterion("bill_print_count <", value, "billPrintCount");
            return (Criteria) this;
        }

        public Criteria andBillPrintCountLessThanOrEqualTo(Integer value) {
            addCriterion("bill_print_count <=", value, "billPrintCount");
            return (Criteria) this;
        }

        public Criteria andBillPrintCountIn(List<Integer> values) {
            addCriterion("bill_print_count in", values, "billPrintCount");
            return (Criteria) this;
        }

        public Criteria andBillPrintCountNotIn(List<Integer> values) {
            addCriterion("bill_print_count not in", values, "billPrintCount");
            return (Criteria) this;
        }

        public Criteria andBillPrintCountBetween(Integer value1, Integer value2) {
            addCriterion("bill_print_count between", value1, value2, "billPrintCount");
            return (Criteria) this;
        }

        public Criteria andBillPrintCountNotBetween(Integer value1, Integer value2) {
            addCriterion("bill_print_count not between", value1, value2, "billPrintCount");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeIsNull() {
            addCriterion("hlht_order_type is null");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeIsNotNull() {
            addCriterion("hlht_order_type is not null");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeEqualTo(String value) {
            addCriterion("hlht_order_type =", value, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeNotEqualTo(String value) {
            addCriterion("hlht_order_type <>", value, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeGreaterThan(String value) {
            addCriterion("hlht_order_type >", value, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeGreaterThanOrEqualTo(String value) {
            addCriterion("hlht_order_type >=", value, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeLessThan(String value) {
            addCriterion("hlht_order_type <", value, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeLessThanOrEqualTo(String value) {
            addCriterion("hlht_order_type <=", value, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeLike(String value) {
            addCriterion("hlht_order_type like", value, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeNotLike(String value) {
            addCriterion("hlht_order_type not like", value, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeIn(List<String> values) {
            addCriterion("hlht_order_type in", values, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeNotIn(List<String> values) {
            addCriterion("hlht_order_type not in", values, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeBetween(String value1, String value2) {
            addCriterion("hlht_order_type between", value1, value2, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeNotBetween(String value1, String value2) {
            addCriterion("hlht_order_type not between", value1, value2, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusIsNull() {
            addCriterion("hlht_order_status is null");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusIsNotNull() {
            addCriterion("hlht_order_status is not null");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusEqualTo(String value) {
            addCriterion("hlht_order_status =", value, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusNotEqualTo(String value) {
            addCriterion("hlht_order_status <>", value, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusGreaterThan(String value) {
            addCriterion("hlht_order_status >", value, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusGreaterThanOrEqualTo(String value) {
            addCriterion("hlht_order_status >=", value, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusLessThan(String value) {
            addCriterion("hlht_order_status <", value, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusLessThanOrEqualTo(String value) {
            addCriterion("hlht_order_status <=", value, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusLike(String value) {
            addCriterion("hlht_order_status like", value, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusNotLike(String value) {
            addCriterion("hlht_order_status not like", value, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusIn(List<String> values) {
            addCriterion("hlht_order_status in", values, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusNotIn(List<String> values) {
            addCriterion("hlht_order_status not in", values, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusBetween(String value1, String value2) {
            addCriterion("hlht_order_status between", value1, value2, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusNotBetween(String value1, String value2) {
            addCriterion("hlht_order_status not between", value1, value2, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andMigrateIdIsNull() {
            addCriterion("migrate_id is null");
            return (Criteria) this;
        }

        public Criteria andMigrateIdIsNotNull() {
            addCriterion("migrate_id is not null");
            return (Criteria) this;
        }

        public Criteria andMigrateIdEqualTo(Long value) {
            addCriterion("migrate_id =", value, "migrateId");
            return (Criteria) this;
        }

        public Criteria andMigrateIdNotEqualTo(Long value) {
            addCriterion("migrate_id <>", value, "migrateId");
            return (Criteria) this;
        }

        public Criteria andMigrateIdGreaterThan(Long value) {
            addCriterion("migrate_id >", value, "migrateId");
            return (Criteria) this;
        }

        public Criteria andMigrateIdGreaterThanOrEqualTo(Long value) {
            addCriterion("migrate_id >=", value, "migrateId");
            return (Criteria) this;
        }

        public Criteria andMigrateIdLessThan(Long value) {
            addCriterion("migrate_id <", value, "migrateId");
            return (Criteria) this;
        }

        public Criteria andMigrateIdLessThanOrEqualTo(Long value) {
            addCriterion("migrate_id <=", value, "migrateId");
            return (Criteria) this;
        }

        public Criteria andMigrateIdIn(List<Long> values) {
            addCriterion("migrate_id in", values, "migrateId");
            return (Criteria) this;
        }

        public Criteria andMigrateIdNotIn(List<Long> values) {
            addCriterion("migrate_id not in", values, "migrateId");
            return (Criteria) this;
        }

        public Criteria andMigrateIdBetween(Long value1, Long value2) {
            addCriterion("migrate_id between", value1, value2, "migrateId");
            return (Criteria) this;
        }

        public Criteria andMigrateIdNotBetween(Long value1, Long value2) {
            addCriterion("migrate_id not between", value1, value2, "migrateId");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andOrderRefundApplyIdIsNull() {
            addCriterion("order_refund_apply_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderRefundApplyIdIsNotNull() {
            addCriterion("order_refund_apply_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderRefundApplyIdEqualTo(Long value) {
            addCriterion("order_refund_apply_id =", value, "orderRefundApplyId");
            return (Criteria) this;
        }

        public Criteria andOrderRefundApplyIdNotEqualTo(Long value) {
            addCriterion("order_refund_apply_id <>", value, "orderRefundApplyId");
            return (Criteria) this;
        }

        public Criteria andOrderRefundApplyIdGreaterThan(Long value) {
            addCriterion("order_refund_apply_id >", value, "orderRefundApplyId");
            return (Criteria) this;
        }

        public Criteria andOrderRefundApplyIdGreaterThanOrEqualTo(Long value) {
            addCriterion("order_refund_apply_id >=", value, "orderRefundApplyId");
            return (Criteria) this;
        }

        public Criteria andOrderRefundApplyIdLessThan(Long value) {
            addCriterion("order_refund_apply_id <", value, "orderRefundApplyId");
            return (Criteria) this;
        }

        public Criteria andOrderRefundApplyIdLessThanOrEqualTo(Long value) {
            addCriterion("order_refund_apply_id <=", value, "orderRefundApplyId");
            return (Criteria) this;
        }

        public Criteria andOrderRefundApplyIdIn(List<Long> values) {
            addCriterion("order_refund_apply_id in", values, "orderRefundApplyId");
            return (Criteria) this;
        }

        public Criteria andOrderRefundApplyIdNotIn(List<Long> values) {
            addCriterion("order_refund_apply_id not in", values, "orderRefundApplyId");
            return (Criteria) this;
        }

        public Criteria andOrderRefundApplyIdBetween(Long value1, Long value2) {
            addCriterion("order_refund_apply_id between", value1, value2, "orderRefundApplyId");
            return (Criteria) this;
        }

        public Criteria andOrderRefundApplyIdNotBetween(Long value1, Long value2) {
            addCriterion("order_refund_apply_id not between", value1, value2, "orderRefundApplyId");
            return (Criteria) this;
        }

        public Criteria andOccupyPayTimeIsNull() {
            addCriterion("occupy_pay_time is null");
            return (Criteria) this;
        }

        public Criteria andOccupyPayTimeIsNotNull() {
            addCriterion("occupy_pay_time is not null");
            return (Criteria) this;
        }

        public Criteria andOccupyPayTimeEqualTo(Date value) {
            addCriterion("occupy_pay_time =", value, "occupyPayTime");
            return (Criteria) this;
        }

        public Criteria andOccupyPayTimeNotEqualTo(Date value) {
            addCriterion("occupy_pay_time <>", value, "occupyPayTime");
            return (Criteria) this;
        }

        public Criteria andOccupyPayTimeGreaterThan(Date value) {
            addCriterion("occupy_pay_time >", value, "occupyPayTime");
            return (Criteria) this;
        }

        public Criteria andOccupyPayTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("occupy_pay_time >=", value, "occupyPayTime");
            return (Criteria) this;
        }

        public Criteria andOccupyPayTimeLessThan(Date value) {
            addCriterion("occupy_pay_time <", value, "occupyPayTime");
            return (Criteria) this;
        }

        public Criteria andOccupyPayTimeLessThanOrEqualTo(Date value) {
            addCriterion("occupy_pay_time <=", value, "occupyPayTime");
            return (Criteria) this;
        }

        public Criteria andOccupyPayTimeIn(List<Date> values) {
            addCriterion("occupy_pay_time in", values, "occupyPayTime");
            return (Criteria) this;
        }

        public Criteria andOccupyPayTimeNotIn(List<Date> values) {
            addCriterion("occupy_pay_time not in", values, "occupyPayTime");
            return (Criteria) this;
        }

        public Criteria andOccupyPayTimeBetween(Date value1, Date value2) {
            addCriterion("occupy_pay_time between", value1, value2, "occupyPayTime");
            return (Criteria) this;
        }

        public Criteria andOccupyPayTimeNotBetween(Date value1, Date value2) {
            addCriterion("occupy_pay_time not between", value1, value2, "occupyPayTime");
            return (Criteria) this;
        }

        public Criteria andOccupyAmountIsNull() {
            addCriterion("occupy_amount is null");
            return (Criteria) this;
        }

        public Criteria andOccupyAmountIsNotNull() {
            addCriterion("occupy_amount is not null");
            return (Criteria) this;
        }

        public Criteria andOccupyAmountEqualTo(BigDecimal value) {
            addCriterion("occupy_amount =", value, "occupyAmount");
            return (Criteria) this;
        }

        public Criteria andOccupyAmountNotEqualTo(BigDecimal value) {
            addCriterion("occupy_amount <>", value, "occupyAmount");
            return (Criteria) this;
        }

        public Criteria andOccupyAmountGreaterThan(BigDecimal value) {
            addCriterion("occupy_amount >", value, "occupyAmount");
            return (Criteria) this;
        }

        public Criteria andOccupyAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("occupy_amount >=", value, "occupyAmount");
            return (Criteria) this;
        }

        public Criteria andOccupyAmountLessThan(BigDecimal value) {
            addCriterion("occupy_amount <", value, "occupyAmount");
            return (Criteria) this;
        }

        public Criteria andOccupyAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("occupy_amount <=", value, "occupyAmount");
            return (Criteria) this;
        }

        public Criteria andOccupyAmountIn(List<BigDecimal> values) {
            addCriterion("occupy_amount in", values, "occupyAmount");
            return (Criteria) this;
        }

        public Criteria andOccupyAmountNotIn(List<BigDecimal> values) {
            addCriterion("occupy_amount not in", values, "occupyAmount");
            return (Criteria) this;
        }

        public Criteria andOccupyAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("occupy_amount between", value1, value2, "occupyAmount");
            return (Criteria) this;
        }

        public Criteria andOccupyAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("occupy_amount not between", value1, value2, "occupyAmount");
            return (Criteria) this;
        }

        public Criteria andOccupyPriceIsNull() {
            addCriterion("occupy_price is null");
            return (Criteria) this;
        }

        public Criteria andOccupyPriceIsNotNull() {
            addCriterion("occupy_price is not null");
            return (Criteria) this;
        }

        public Criteria andOccupyPriceEqualTo(String value) {
            addCriterion("occupy_price =", value, "occupyPrice");
            return (Criteria) this;
        }

        public Criteria andOccupyPriceNotEqualTo(String value) {
            addCriterion("occupy_price <>", value, "occupyPrice");
            return (Criteria) this;
        }

        public Criteria andOccupyPriceGreaterThan(String value) {
            addCriterion("occupy_price >", value, "occupyPrice");
            return (Criteria) this;
        }

        public Criteria andOccupyPriceGreaterThanOrEqualTo(String value) {
            addCriterion("occupy_price >=", value, "occupyPrice");
            return (Criteria) this;
        }

        public Criteria andOccupyPriceLessThan(String value) {
            addCriterion("occupy_price <", value, "occupyPrice");
            return (Criteria) this;
        }

        public Criteria andOccupyPriceLessThanOrEqualTo(String value) {
            addCriterion("occupy_price <=", value, "occupyPrice");
            return (Criteria) this;
        }

        public Criteria andOccupyPriceLike(String value) {
            addCriterion("occupy_price like", value, "occupyPrice");
            return (Criteria) this;
        }

        public Criteria andOccupyPriceNotLike(String value) {
            addCriterion("occupy_price not like", value, "occupyPrice");
            return (Criteria) this;
        }

        public Criteria andOccupyPriceIn(List<String> values) {
            addCriterion("occupy_price in", values, "occupyPrice");
            return (Criteria) this;
        }

        public Criteria andOccupyPriceNotIn(List<String> values) {
            addCriterion("occupy_price not in", values, "occupyPrice");
            return (Criteria) this;
        }

        public Criteria andOccupyPriceBetween(String value1, String value2) {
            addCriterion("occupy_price between", value1, value2, "occupyPrice");
            return (Criteria) this;
        }

        public Criteria andOccupyPriceNotBetween(String value1, String value2) {
            addCriterion("occupy_price not between", value1, value2, "occupyPrice");
            return (Criteria) this;
        }

        public Criteria andOccupyDurationIsNull() {
            addCriterion("occupy_duration is null");
            return (Criteria) this;
        }

        public Criteria andOccupyDurationIsNotNull() {
            addCriterion("occupy_duration is not null");
            return (Criteria) this;
        }

        public Criteria andOccupyDurationEqualTo(Integer value) {
            addCriterion("occupy_duration =", value, "occupyDuration");
            return (Criteria) this;
        }

        public Criteria andOccupyDurationNotEqualTo(Integer value) {
            addCriterion("occupy_duration <>", value, "occupyDuration");
            return (Criteria) this;
        }

        public Criteria andOccupyDurationGreaterThan(Integer value) {
            addCriterion("occupy_duration >", value, "occupyDuration");
            return (Criteria) this;
        }

        public Criteria andOccupyDurationGreaterThanOrEqualTo(Integer value) {
            addCriterion("occupy_duration >=", value, "occupyDuration");
            return (Criteria) this;
        }

        public Criteria andOccupyDurationLessThan(Integer value) {
            addCriterion("occupy_duration <", value, "occupyDuration");
            return (Criteria) this;
        }

        public Criteria andOccupyDurationLessThanOrEqualTo(Integer value) {
            addCriterion("occupy_duration <=", value, "occupyDuration");
            return (Criteria) this;
        }

        public Criteria andOccupyDurationIn(List<Integer> values) {
            addCriterion("occupy_duration in", values, "occupyDuration");
            return (Criteria) this;
        }

        public Criteria andOccupyDurationNotIn(List<Integer> values) {
            addCriterion("occupy_duration not in", values, "occupyDuration");
            return (Criteria) this;
        }

        public Criteria andOccupyDurationBetween(Integer value1, Integer value2) {
            addCriterion("occupy_duration between", value1, value2, "occupyDuration");
            return (Criteria) this;
        }

        public Criteria andOccupyDurationNotBetween(Integer value1, Integer value2) {
            addCriterion("occupy_duration not between", value1, value2, "occupyDuration");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyIsNull() {
            addCriterion("charging_policy is null");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyIsNotNull() {
            addCriterion("charging_policy is not null");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyEqualTo(String value) {
            addCriterion("charging_policy =", value, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyNotEqualTo(String value) {
            addCriterion("charging_policy <>", value, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyGreaterThan(String value) {
            addCriterion("charging_policy >", value, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyGreaterThanOrEqualTo(String value) {
            addCriterion("charging_policy >=", value, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyLessThan(String value) {
            addCriterion("charging_policy <", value, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyLessThanOrEqualTo(String value) {
            addCriterion("charging_policy <=", value, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyLike(String value) {
            addCriterion("charging_policy like", value, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyNotLike(String value) {
            addCriterion("charging_policy not like", value, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyIn(List<String> values) {
            addCriterion("charging_policy in", values, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyNotIn(List<String> values) {
            addCriterion("charging_policy not in", values, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyBetween(String value1, String value2) {
            addCriterion("charging_policy between", value1, value2, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyNotBetween(String value1, String value2) {
            addCriterion("charging_policy not between", value1, value2, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(String value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(String value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(String value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(String value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(String value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(String value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLike(String value) {
            addCriterion("is_delete like", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotLike(String value) {
            addCriterion("is_delete not like", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<String> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<String> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(String value1, String value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(String value1, String value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsIsNull() {
            addCriterion("member_ticket_ids is null");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsIsNotNull() {
            addCriterion("member_ticket_ids is not null");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsEqualTo(String value) {
            addCriterion("member_ticket_ids =", value, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsNotEqualTo(String value) {
            addCriterion("member_ticket_ids <>", value, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsGreaterThan(String value) {
            addCriterion("member_ticket_ids >", value, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsGreaterThanOrEqualTo(String value) {
            addCriterion("member_ticket_ids >=", value, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsLessThan(String value) {
            addCriterion("member_ticket_ids <", value, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsLessThanOrEqualTo(String value) {
            addCriterion("member_ticket_ids <=", value, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsLike(String value) {
            addCriterion("member_ticket_ids like", value, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsNotLike(String value) {
            addCriterion("member_ticket_ids not like", value, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsIn(List<String> values) {
            addCriterion("member_ticket_ids in", values, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsNotIn(List<String> values) {
            addCriterion("member_ticket_ids not in", values, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsBetween(String value1, String value2) {
            addCriterion("member_ticket_ids between", value1, value2, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsNotBetween(String value1, String value2) {
            addCriterion("member_ticket_ids not between", value1, value2, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmIsNull() {
            addCriterion("charging_policy_parm is null");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmIsNotNull() {
            addCriterion("charging_policy_parm is not null");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmEqualTo(String value) {
            addCriterion("charging_policy_parm =", value, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmNotEqualTo(String value) {
            addCriterion("charging_policy_parm <>", value, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmGreaterThan(String value) {
            addCriterion("charging_policy_parm >", value, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmGreaterThanOrEqualTo(String value) {
            addCriterion("charging_policy_parm >=", value, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmLessThan(String value) {
            addCriterion("charging_policy_parm <", value, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmLessThanOrEqualTo(String value) {
            addCriterion("charging_policy_parm <=", value, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmLike(String value) {
            addCriterion("charging_policy_parm like", value, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmNotLike(String value) {
            addCriterion("charging_policy_parm not like", value, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmIn(List<String> values) {
            addCriterion("charging_policy_parm in", values, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmNotIn(List<String> values) {
            addCriterion("charging_policy_parm not in", values, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmBetween(String value1, String value2) {
            addCriterion("charging_policy_parm between", value1, value2, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmNotBetween(String value1, String value2) {
            addCriterion("charging_policy_parm not between", value1, value2, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountIsNull() {
            addCriterion("is_use_give_amount is null");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountIsNotNull() {
            addCriterion("is_use_give_amount is not null");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountEqualTo(String value) {
            addCriterion("is_use_give_amount =", value, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountNotEqualTo(String value) {
            addCriterion("is_use_give_amount <>", value, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountGreaterThan(String value) {
            addCriterion("is_use_give_amount >", value, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountGreaterThanOrEqualTo(String value) {
            addCriterion("is_use_give_amount >=", value, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountLessThan(String value) {
            addCriterion("is_use_give_amount <", value, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountLessThanOrEqualTo(String value) {
            addCriterion("is_use_give_amount <=", value, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountLike(String value) {
            addCriterion("is_use_give_amount like", value, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountNotLike(String value) {
            addCriterion("is_use_give_amount not like", value, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountIn(List<String> values) {
            addCriterion("is_use_give_amount in", values, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountNotIn(List<String> values) {
            addCriterion("is_use_give_amount not in", values, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountBetween(String value1, String value2) {
            addCriterion("is_use_give_amount between", value1, value2, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountNotBetween(String value1, String value2) {
            addCriterion("is_use_give_amount not between", value1, value2, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andTicketAmountIsNull() {
            addCriterion("ticket_amount is null");
            return (Criteria) this;
        }

        public Criteria andTicketAmountIsNotNull() {
            addCriterion("ticket_amount is not null");
            return (Criteria) this;
        }

        public Criteria andTicketAmountEqualTo(BigDecimal value) {
            addCriterion("ticket_amount =", value, "ticketAmount");
            return (Criteria) this;
        }

        public Criteria andTicketAmountNotEqualTo(BigDecimal value) {
            addCriterion("ticket_amount <>", value, "ticketAmount");
            return (Criteria) this;
        }

        public Criteria andTicketAmountGreaterThan(BigDecimal value) {
            addCriterion("ticket_amount >", value, "ticketAmount");
            return (Criteria) this;
        }

        public Criteria andTicketAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ticket_amount >=", value, "ticketAmount");
            return (Criteria) this;
        }

        public Criteria andTicketAmountLessThan(BigDecimal value) {
            addCriterion("ticket_amount <", value, "ticketAmount");
            return (Criteria) this;
        }

        public Criteria andTicketAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ticket_amount <=", value, "ticketAmount");
            return (Criteria) this;
        }

        public Criteria andTicketAmountIn(List<BigDecimal> values) {
            addCriterion("ticket_amount in", values, "ticketAmount");
            return (Criteria) this;
        }

        public Criteria andTicketAmountNotIn(List<BigDecimal> values) {
            addCriterion("ticket_amount not in", values, "ticketAmount");
            return (Criteria) this;
        }

        public Criteria andTicketAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ticket_amount between", value1, value2, "ticketAmount");
            return (Criteria) this;
        }

        public Criteria andTicketAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ticket_amount not between", value1, value2, "ticketAmount");
            return (Criteria) this;
        }

        public Criteria andGiveAmountIsNull() {
            addCriterion("give_amount is null");
            return (Criteria) this;
        }

        public Criteria andGiveAmountIsNotNull() {
            addCriterion("give_amount is not null");
            return (Criteria) this;
        }

        public Criteria andGiveAmountEqualTo(BigDecimal value) {
            addCriterion("give_amount =", value, "giveAmount");
            return (Criteria) this;
        }

        public Criteria andGiveAmountNotEqualTo(BigDecimal value) {
            addCriterion("give_amount <>", value, "giveAmount");
            return (Criteria) this;
        }

        public Criteria andGiveAmountGreaterThan(BigDecimal value) {
            addCriterion("give_amount >", value, "giveAmount");
            return (Criteria) this;
        }

        public Criteria andGiveAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("give_amount >=", value, "giveAmount");
            return (Criteria) this;
        }

        public Criteria andGiveAmountLessThan(BigDecimal value) {
            addCriterion("give_amount <", value, "giveAmount");
            return (Criteria) this;
        }

        public Criteria andGiveAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("give_amount <=", value, "giveAmount");
            return (Criteria) this;
        }

        public Criteria andGiveAmountIn(List<BigDecimal> values) {
            addCriterion("give_amount in", values, "giveAmount");
            return (Criteria) this;
        }

        public Criteria andGiveAmountNotIn(List<BigDecimal> values) {
            addCriterion("give_amount not in", values, "giveAmount");
            return (Criteria) this;
        }

        public Criteria andGiveAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("give_amount between", value1, value2, "giveAmount");
            return (Criteria) this;
        }

        public Criteria andGiveAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("give_amount not between", value1, value2, "giveAmount");
            return (Criteria) this;
        }

        public Criteria andLevelDiscountIsNull() {
            addCriterion("level_discount is null");
            return (Criteria) this;
        }

        public Criteria andLevelDiscountIsNotNull() {
            addCriterion("level_discount is not null");
            return (Criteria) this;
        }

        public Criteria andLevelDiscountEqualTo(BigDecimal value) {
            addCriterion("level_discount =", value, "levelDiscount");
            return (Criteria) this;
        }

        public Criteria andLevelDiscountNotEqualTo(BigDecimal value) {
            addCriterion("level_discount <>", value, "levelDiscount");
            return (Criteria) this;
        }

        public Criteria andLevelDiscountGreaterThan(BigDecimal value) {
            addCriterion("level_discount >", value, "levelDiscount");
            return (Criteria) this;
        }

        public Criteria andLevelDiscountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("level_discount >=", value, "levelDiscount");
            return (Criteria) this;
        }

        public Criteria andLevelDiscountLessThan(BigDecimal value) {
            addCriterion("level_discount <", value, "levelDiscount");
            return (Criteria) this;
        }

        public Criteria andLevelDiscountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("level_discount <=", value, "levelDiscount");
            return (Criteria) this;
        }

        public Criteria andLevelDiscountIn(List<BigDecimal> values) {
            addCriterion("level_discount in", values, "levelDiscount");
            return (Criteria) this;
        }

        public Criteria andLevelDiscountNotIn(List<BigDecimal> values) {
            addCriterion("level_discount not in", values, "levelDiscount");
            return (Criteria) this;
        }

        public Criteria andLevelDiscountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("level_discount between", value1, value2, "levelDiscount");
            return (Criteria) this;
        }

        public Criteria andLevelDiscountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("level_discount not between", value1, value2, "levelDiscount");
            return (Criteria) this;
        }

        public Criteria andPreAmountIsNull() {
            addCriterion("pre_amount is null");
            return (Criteria) this;
        }

        public Criteria andPreAmountIsNotNull() {
            addCriterion("pre_amount is not null");
            return (Criteria) this;
        }

        public Criteria andPreAmountEqualTo(BigDecimal value) {
            addCriterion("pre_amount =", value, "preAmount");
            return (Criteria) this;
        }

        public Criteria andPreAmountNotEqualTo(BigDecimal value) {
            addCriterion("pre_amount <>", value, "preAmount");
            return (Criteria) this;
        }

        public Criteria andPreAmountGreaterThan(BigDecimal value) {
            addCriterion("pre_amount >", value, "preAmount");
            return (Criteria) this;
        }

        public Criteria andPreAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("pre_amount >=", value, "preAmount");
            return (Criteria) this;
        }

        public Criteria andPreAmountLessThan(BigDecimal value) {
            addCriterion("pre_amount <", value, "preAmount");
            return (Criteria) this;
        }

        public Criteria andPreAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("pre_amount <=", value, "preAmount");
            return (Criteria) this;
        }

        public Criteria andPreAmountIn(List<BigDecimal> values) {
            addCriterion("pre_amount in", values, "preAmount");
            return (Criteria) this;
        }

        public Criteria andPreAmountNotIn(List<BigDecimal> values) {
            addCriterion("pre_amount not in", values, "preAmount");
            return (Criteria) this;
        }

        public Criteria andPreAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pre_amount between", value1, value2, "preAmount");
            return (Criteria) this;
        }

        public Criteria andPreAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pre_amount not between", value1, value2, "preAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIsNull() {
            addCriterion("refund_amount is null");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIsNotNull() {
            addCriterion("refund_amount is not null");
            return (Criteria) this;
        }

        public Criteria andRefundAmountEqualTo(Long value) {
            addCriterion("refund_amount =", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotEqualTo(Long value) {
            addCriterion("refund_amount <>", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountGreaterThan(Long value) {
            addCriterion("refund_amount >", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("refund_amount >=", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountLessThan(Long value) {
            addCriterion("refund_amount <", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountLessThanOrEqualTo(Long value) {
            addCriterion("refund_amount <=", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIn(List<Long> values) {
            addCriterion("refund_amount in", values, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotIn(List<Long> values) {
            addCriterion("refund_amount not in", values, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountBetween(Long value1, Long value2) {
            addCriterion("refund_amount between", value1, value2, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotBetween(Long value1, Long value2) {
            addCriterion("refund_amount not between", value1, value2, "refundAmount");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}